package com.naire.modul.cusorg.service;

import net.common.service.GeneralService;
import com.naire.modul.cusorg.dao.CusorgDao;
import com.naire.modul.cusorg.dao.impl.CusorgDaoImpl;
import com.naire.modul.cusorg.vo.CusorgVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class CusorgDeleteService extends GeneralService {

	private CusorgVo bean;

	@Override
	public void execute() throws Exception {
		CusorgDao dao = new CusorgDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(CusorgVo bean) {
		this.bean = bean;
	}

}
